projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04f9c3b
)
* src/xterm.c (x_xrender_color_from_gc_foreground): Fix omission error.
author
Po Lu
<luangruo@yahoo.com>
Mon, 31 Jan 2022 04:58:11 +0000
(12:58 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 31 Jan 2022 04:58:11 +0000
(12:58 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 80c0654e240802a583381f389c2aa216fa25aa86..e7019a3a7477f4bf9455ff3e582e6c38224c8978 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-16365,6
+16365,10
@@
x_xrender_color_from_gc_foreground (struct frame *f, GC gc, XRenderColor *color,
xc.pixel = xgcv.foreground;
x_query_colors (f, &xc, 1);
+ color->alpha = (apply_alpha_background
+ ? 65535 * f->alpha_background
+ : 65535);
+
if (color->alpha == 65535)
{
color->red = xc.red;